package de.voegel.model;

import java.util.HashSet;
import java.util.List;
import java.util.Vector;

import de.voegel.model.entity.BirdEntity;
import de.voegel.model.entity.PlaceEntity;
import de.voegel.model.entity.UserEntity;

public class GuiModel {

	private User user;
	private User dbUser;
	public boolean dbConnect;

	public HashSet<DbString> zooRegionListe;
	public HashSet<DbString> laenderListe;
	public HashSet<DbString> regionListe;
	public HashSet<DbString> ortListe;
	public Vector<BirdEntity> birdList;

	public List<BirdEntity> birds;
	public List<UserEntity> userList;
	public List<PlaceEntity> places;
	public Vector<BirdEntity> currentUNterart;

	public class User {
		private final String user;
		private final String password;

		public User(String user, String password) {
			this.user = user;
			this.password = password;
		}

		public String getUser() {
			return user;
		}

		public String getPassword() {
			return password;
		}
	}

	public User getUser() {
		return user;
	}

	public void setUser(String user, String password) {
		this.user = new User(user, password);
	}

	public User getDbUser() {
		return dbUser;
	}

	public void setDbUser(String user, String password) {
		this.dbUser = new User(user, password);
	}

}
